from django.conf.urls import url

from . import views

urlpatterns = [

# list/(?P<category_id>\d+)/(?P<page_num>\d+)/?sort=排序方式
    url(r'^find_password/$', views.FindPasswordView.as_view()),
    url(r'^accounts/(?P<username>[a-zA-Z0-9_-]{5,20})/sms/token/$', views.FirstView.as_view()),
    url(r'^find_password_sms_codes/(?P<mobile>1[3-9]\d{9}/$)', views.SecondView.as_view()),
    url(r'^accounts/(?P<mobile>[a-zA-Z0-9_-]{5,20})/password/token/$', views.Second1View.as_view()),
    url(r'^users/(?P<user_id>\d+)/new_password/$', views.ThirdView.as_view()),
]